import http from '@/http'
import { ListQxParam, QxModel } from './QxModel'
 
//新增
export const addUserApi = (param:QxModel) => {
    return http.post("/api/qx",param)
}
//列表
export const getListApi = (param:ListQxParam) => {
    return http.get("/api/qx/list",param)
}
//编辑
export const editUserApi = (param:QxModel) => {
    return http.put("/api/qx",param)
}
//删除
export const deleteUserApi = (id:string) => {
    return http.delete(`/api/qx/${id}`)
}
